unformatted input output functions in c